<!DOCTYPE html>
<html>
    <head lang="en">
        <meta charset="UTF-8">
        <meta name="csrf-token" content="{{ csrf_token() }}">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">	
        <link rel="shortcut icon" type="image/x-icon" href="{{URL::asset('handan/images/logo-icon.png')}}" />
        <title>我的策略</title>
        <link rel="stylesheet" href="{{URL::asset('mobile/css/public.css') }}"/>
        <link rel="stylesheet" href="{{URL::asset('mobile/css/kmyhandan.css') }}"/>
    </head>
<body>
	<!--30单前  开始-->
	@if($info[0]->alltraid < 30)
	<div class="dingji">
		<div>定级赛</div>
		<div class="progress">
			<span style="width: 50%;"></span>
		</div>
		<div>
			<p><span>{{$info[0]->winnum}}/<span>30</span></span>盈利</p>
			<p><span>{{$info[0]->lostnum}}/<span>30</span></span>亏损</p>
		</div>
		<div>
			<p>等级:<span>暂无</span></p>
			<p>职称:<span>未定级</span></p>
		</div>
	</div>
	<!--30单前  结束-->
	@else
	<!--30单后  开始-->
	<div class="dingjiend">
		<div>
			@if($info[0]->grade == 0)
                <img src="{{ URL::asset('mobile/image/analystcenter/0dengji.png') }}" alt=""> 
            @elseif($info[0]->grade == 1)
                <img src="{{ URL::asset('mobile/image/analystcenter/1dengji.png') }}" alt="">
            @elseif($info[0]->grade == 2)
                <img src="{{ URL::asset('mobile/image/analystcenter/2dengji.png') }}" alt=""> 
            @elseif($info[0]->grade == 3)
                <img src="{{ URL::asset('mobile/image/analystcenter/3dengji.png') }}" alt=""> 
            @elseif($info[0]->grade == 4)
                <img src="{{ URL::asset('mobile/image/analystcenter/4dengji.png') }}" alt=""> 
            @endif
		</div>
		<div>
			@if($info[0]->star == 1)
				<p><img src="{{ URL::asset('mobile/image/analystcenter/xl.png') }}" alt=""></p>
				<p><img src="{{ URL::asset('mobile/image/analystcenter/xh.png') }}" alt=""></p>
				<p><img src="{{ URL::asset('mobile/image/analystcenter/xh.png') }}" alt=""></p>
			@elseif($info[0]->star == 2)
				<p><img src="{{ URL::asset('mobile/image/analystcenter/xl.png') }}" alt=""></p>
				<p><img src="{{ URL::asset('mobile/image/analystcenter/xl.png') }}" alt=""></p>
				<p><img src="{{ URL::asset('mobile/image/analystcenter/xh.png') }}" alt=""></p>
			@elseif($info[0]->star == 2)
				<p><img src="{{ URL::asset('mobile/image/analystcenter/xl.png') }}" alt=""></p>
				<p><img src="{{ URL::asset('mobile/image/analystcenter/xl.png') }}" alt=""></p>
				<p><img src="{{ URL::asset('mobile/image/analystcenter/xl.png') }}" alt=""></p>
			@endif
		</div>
		<div>
			<p>职称:
				@if($info[0]->grade == 0) 
					<span>交易能手</span> 
				@elseif($info[0]->grade == 1) 
					<span>交易高手</span> 
				@elseif($info[0]->grade == 2) 
					<span>分析专家</span> 
				@elseif($info[0]->grade == 3) 
					<span>操盘大师</span> 
				@elseif($info[0]->grade == 4) 
					<span>金融宗师</span> 
				@endif
			</p>
		</div>
		<div>
			<p>连胜<span>{{ $info[0]->liansheng }}/<span>5</span></span></p>
			<p class="line"></p>
			<p>连亏<span>{{ $info[0]->lianbai }}/<span>5</span></span></p>
		</div>
	</div>
	@endif
	<!--30单后  结束-->
	@include('mobile.list')
</body>
</html>
<style type="text/css">
	.list-block {
		margin: 0;
	} 
	.list-block ul {
		background: #F6F6F6;
	}
</style>
<script>
	var listurl       = '{{url("/handanhistory")}}';
</script>   	
